package com.aric.springbootmusic.entity.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EditUserRoleParam {
    @NotBlank(message = "主键不能为空!")
    private String id;
    @NotNull(message = "角色id不能为空")
    private Integer roleId;
}
